package com.wangtao.firstapp.modles;

import java.util.List;

/**
 * 晒单下分类模块二级页面实体类
 * Created by lanouhn on 16/9/5.
 */
public class CategoryClassEntity {

    /**
     * status : 1
     * msg : ok
     * ts : 1473077524
     * data : {"id":"3","pic":null,"name":"生活","en_name":"Home","subclass_list":[{"id":"434","name":"灯具灯饰","pic":"http://7viiaj.com2.z0.glb.qiniucdn.com/postpic/003/434.jpg?v=1461575577"},{"id":"475","name":"生活用品","pic":"http://7viiaj.com2.z0.glb.qiniucdn.com/postpic/003/475.jpg?v=1461576930"},{"id":"451","name":"家居饰品","pic":"http://7viiaj.com2.z0.glb.qiniucdn.com/postpic/003/451.jpg?v=1461575652"},{"id":"463","name":"住宅家具","pic":"http://7viiaj.com2.z0.glb.qiniucdn.com/postpic/003/463.jpg?v=1461575699"},{"id":"469","name":"家纺布艺","pic":"http://7viiaj.com2.z0.glb.qiniucdn.com/postpic/003/469.jpg?v=1461576865"},{"id":"483","name":"家居清洁","pic":"http://7viiaj.com2.z0.glb.qiniucdn.com/postpic/003/483.jpg?v=1461576966"},{"id":"489","name":"厨房用具","pic":"http://7viiaj.com2.z0.glb.qiniucdn.com/postpic/003/489.jpg?v=1461581758"},{"id":"524","name":"园艺用品","pic":"http://7viiaj.com2.z0.glb.qiniucdn.com/postpic/003/524.jpg?v=1461576206"},{"id":"514","name":"玩模乐器","pic":"http://7viiaj.com2.z0.glb.qiniucdn.com/postpic/003/514.jpg?v=1461582226"},{"id":"498","name":"节庆礼品","pic":"http://7viiaj.com2.z0.glb.qiniucdn.com/postpic/003/498.jpg?v=1461582109"},{"id":"501","name":"宠物用品","pic":"http://7viiaj.com2.z0.glb.qiniucdn.com/postpic/003/501.jpg?v=1461581790"}],"subject_list":[{"id":"155","pic":"http://7xiwnz.com2.z0.glb.qiniucdn.com/subject1/201604/97994999.jpg?v=1461927802","datetime":"1461927838","datestr":"04-29 19:03"}],"show_post_list_style":"1"}
     */

    private int status;
    private String msg;
    private int ts;

    /**
     * id : 3
     * pic : null
     * name : 生活
     * en_name : Home
     * subclass_list : [{"id":"434","name":"灯具灯饰","pic":"http://7viiaj.com2.z0.glb.qiniucdn.com/postpic/003/434.jpg?v=1461575577"},{"id":"475","name":"生活用品","pic":"http://7viiaj.com2.z0.glb.qiniucdn.com/postpic/003/475.jpg?v=1461576930"},{"id":"451","name":"家居饰品","pic":"http://7viiaj.com2.z0.glb.qiniucdn.com/postpic/003/451.jpg?v=1461575652"},{"id":"463","name":"住宅家具","pic":"http://7viiaj.com2.z0.glb.qiniucdn.com/postpic/003/463.jpg?v=1461575699"},{"id":"469","name":"家纺布艺","pic":"http://7viiaj.com2.z0.glb.qiniucdn.com/postpic/003/469.jpg?v=1461576865"},{"id":"483","name":"家居清洁","pic":"http://7viiaj.com2.z0.glb.qiniucdn.com/postpic/003/483.jpg?v=1461576966"},{"id":"489","name":"厨房用具","pic":"http://7viiaj.com2.z0.glb.qiniucdn.com/postpic/003/489.jpg?v=1461581758"},{"id":"524","name":"园艺用品","pic":"http://7viiaj.com2.z0.glb.qiniucdn.com/postpic/003/524.jpg?v=1461576206"},{"id":"514","name":"玩模乐器","pic":"http://7viiaj.com2.z0.glb.qiniucdn.com/postpic/003/514.jpg?v=1461582226"},{"id":"498","name":"节庆礼品","pic":"http://7viiaj.com2.z0.glb.qiniucdn.com/postpic/003/498.jpg?v=1461582109"},{"id":"501","name":"宠物用品","pic":"http://7viiaj.com2.z0.glb.qiniucdn.com/postpic/003/501.jpg?v=1461581790"}]
     * subject_list : [{"id":"155","pic":"http://7xiwnz.com2.z0.glb.qiniucdn.com/subject1/201604/97994999.jpg?v=1461927802","datetime":"1461927838","datestr":"04-29 19:03"}]
     * show_post_list_style : 1
     */

    private DataBean data;

    public int getStatus() {

        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getTs() {
        return ts;
    }

    public void setTs(int ts) {
        this.ts = ts;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        private String id;
        private Object pic;
        private String name;
        private String en_name;
        private String show_post_list_style;
        /**
         * id : 434
         * name : 灯具灯饰
         * pic : http://7viiaj.com2.z0.glb.qiniucdn.com/postpic/003/434.jpg?v=1461575577
         */

        private List<SubclassListBean> subclass_list;
        /**
         * id : 155
         * pic : http://7xiwnz.com2.z0.glb.qiniucdn.com/subject1/201604/97994999.jpg?v=1461927802
         * datetime : 1461927838
         * datestr : 04-29 19:03
         */

        private List<SubjectListBean> subject_list;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public Object getPic() {
            return pic;
        }

        public void setPic(Object pic) {
            this.pic = pic;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getEn_name() {
            return en_name;
        }

        public void setEn_name(String en_name) {
            this.en_name = en_name;
        }

        public String getShow_post_list_style() {
            return show_post_list_style;
        }

        public void setShow_post_list_style(String show_post_list_style) {
            this.show_post_list_style = show_post_list_style;
        }

        public List<SubclassListBean> getSubclass_list() {
            return subclass_list;
        }

        public void setSubclass_list(List<SubclassListBean> subclass_list) {
            this.subclass_list = subclass_list;
        }

        public List<SubjectListBean> getSubject_list() {
            return subject_list;
        }

        public void setSubject_list(List<SubjectListBean> subject_list) {
            this.subject_list = subject_list;
        }

        public static class SubclassListBean {
            private String id;
            private String name;
            private String pic;
            private boolean isCheck;

            public boolean isCheck() {
                return isCheck;
            }

            public void setCheck(boolean check) {
                isCheck = check;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getPic() {
                return pic;
            }

            public void setPic(String pic) {
                this.pic = pic;
            }
        }

        public static class SubjectListBean {
            private String id;
            private String pic;
            private String datetime;
            private String datestr;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getPic() {
                return pic;
            }

            public void setPic(String pic) {
                this.pic = pic;
            }

            public String getDatetime() {
                return datetime;
            }

            public void setDatetime(String datetime) {
                this.datetime = datetime;
            }

            public String getDatestr() {
                return datestr;
            }

            public void setDatestr(String datestr) {
                this.datestr = datestr;
            }
        }
    }
}
